package com.jmp.base;

import com.jmp.base.dto.LogAddRequest;
import one.stand.model.ResultModel;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

public interface LogApi {
    /**
     * 操作名称： 1购买服务   2代理商 3CRM PC操作
     */
    int TYPE_SERVER_BUY = 1;
    int TYPE_AGENT = 2;
    int TYPE_CRM_PC = 3;

    @PostMapping("/log/add")
    ResultModel add(@RequestBody LogAddRequest request);
}
